/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client;

/**
 *
 * @author glenn
 */
public class UserSession {

    private static UserSession instance = null;
    private Boolean isAuthenticated = false;

    private UserSession() {
    }

    public static UserSession getInstance() {

        if (UserSession.instance == null) {
            UserSession.instance = new UserSession();
        }
        return UserSession.instance;
    }

    public Boolean isAuthenticated() {
        return isAuthenticated;
    }

    public void setAuthenticated(Boolean b) {
        isAuthenticated = b;
    }
}
